class tfGuardProjB extends tfGuardProj;

simulated function ProcessTouch (Actor Other, vector HitLocation)
{
//    local Vector X, RefNormal, RefDir;
    if(other==none) return;
    if(tfguardian(other)!=none && tfguardian(other).MyTeam==1) return;
    if(BigShieldSphere(other)!=none && BigShieldSphere(other).Shield!=none && BigShieldSphere(other).Shield.myteam==1) return;

    //else if(pawn(other)!=none && pawn(other).playerreplicationinfo!=none &&
    //     pawn(other).playerreplicationinfo.team.teamindex==tfStation(owner).myteam) return;

    if ( !Other.IsA('Projectile') || Other.bProjTarget )
	{
		instigator=none;
		setowner(none);

        Explode(HitLocation, vector(rotation));
	}
}

defaultproperties
{
     MyDamageType=Class'taskforces.DamTypeGuardProjB'
     StaticMesh=StaticMesh'TFMedia.fX.tfGProjBlu'
}
